minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
↳ QTRS
↳ Overlay + Local Confluence
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
MINUS(s(X), s(Y)) → MINUS(X, Y)
MINUS(s(X), s(Y)) → P(minus(X, Y))
DIV(s(X), s(Y)) → MINUS(X, Y)
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
MINUS(s(X), s(Y)) → MINUS(X, Y)
MINUS(s(X), s(Y)) → P(minus(X, Y))
DIV(s(X), s(Y)) → MINUS(X, Y)
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
MINUS(s(X), s(Y)) → MINUS(X, Y)
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
MINUS(s(X), s(Y)) → MINUS(X, Y)
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
MINUS(s(X), s(Y)) → MINUS(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
div(0, s(Y)) → 0
div(s(X), s(Y)) → s(div(minus(X, Y), s(Y)))
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
div(0, s(x0))
div(s(x0), s(x1))
div(0, s(x0))
div(s(x0), s(x1))
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
DIV(s(X), s(Y)) → DIV(minus(X, Y), s(Y))
POL(0) = 0
POL(DIV(x1, x2)) = x1
POL(minus(x1, x2)) = x1
POL(p(x1)) = x1
POL(s(x1)) = 1 + x1
minus(s(X), s(Y)) → p(minus(X, Y))
minus(X, 0) → X
p(s(X)) → X
↳ QTRS
↳ Overlay + Local Confluence
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
minus(X, 0) → X
minus(s(X), s(Y)) → p(minus(X, Y))
p(s(X)) → X
minus(x0, 0)
minus(s(x0), s(x1))
p(s(x0))